/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.wpi.first.wpilibj.templates.subsystems;

import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.commands.Drive;

/**
 *
 * @author Team 1662
 */
public class Drivetrain extends Subsystem {
    private Talon rightMotor1 = new Talon(1);
    private Talon leftMotor = new Talon(2);
    private RobotDrive trees = new RobotDrive(leftMotor, rightMotor1);
    
        
            
    public void Milktank(double left, double right){
   
        trees.tankDrive(left, right); 
    }
   
    //this.Motor1 = new Motor1 (Motor1.Robotmap);
    protected void initDefaultCommand() {
        setDefaultCommand(new Drive());
    }  
}